
// Copyright (C) Recursion Company. All rights reserved.

#ifndef __VOL_CURL_RECV_MAIL_H__
#define __VOL_CURL_RECV_MAIL_H__

#include "../../curl/vol/vol_curl.h"

class CVolCurlMailReceiver : public CVolCommonBase
{
public:
    static INT sSendCommand (CURL* pCurl, const TCHAR* szPop3ServerAddress, INT_P npPop3Port, const TCHAR* szUserName,
            const TCHAR* szPassword, const TCHAR* szCommand, CVolString* pstrResult);
    static INT sGetAndParseEMailList (CURL* pCurl, const TCHAR* szPop3ServerAddress, INT_P npPop3Port, const TCHAR* szUserName,
            const TCHAR* szPassword, CMArray<INT>& aryEMailID, CMArray<INT>& aryEMailSize);
};

#endif
